from selenium import webdriver
from selenium.webdriver import ChromeOptions
import time
option = ChromeOptions()
option.add_experimental_option('excludeSwitches', ['enable-automation'])
url='https://www.taobao.com/'
driver=webdriver.Chrome(options=option)
driver.get(url)
link=driver.find_element_by_partial_link_text('亲，请登录')
link.click()
usr_name=driver.find_element_by_id('fm-login-id')
usr_name.send_keys('花开落天涯')
time.sleep(2)
pwd=driver.find_element_by_id('fm-login-password')
pwd.send_keys('091422Zhuo')
login=driver.find_element_by_class_name('fm-button fm-submit password-login')
time.sleep(2)
login.click()
driver.close()
